// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import UxCharts from 'ux-charts'
import echarts from 'echarts'

// let ux = require('ux-charts')
// ux.sayHi()

Vue.config.productionTip = false

Vue.prototype.$echarts = echarts

Vue.use(ElementUI)
Vue.use(UxCharts)

console.log(UxCharts)

// console.log(process, process.env.NODE_ENV, process.env.NODE_ENV === 'production' )

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
